package org.keyboardman.mapper;

import org.keyboardman.model.Resource;
import org.keyboardman.model.ResourceExample;

import java.util.List;

public interface ResourceMapper {
    int countByExample(ResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Resource record);

    int insertSelective(Resource record);

    Resource selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Resource record);

    int updateByPrimaryKey(Resource record);

    List<Resource> selectByUserName(String userName );
}